//---------------------------------------------------------------------
// <copyright file="UnresolvedLabeledElement.cs" company="Microsoft">
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------

using Microsoft.Data.Edm.Library.Internal;
using Microsoft.Data.Edm.Validation;

namespace Microsoft.Data.Edm.Csdl.Internal.CsdlSemantics
{
    internal class UnresolvedLabeledElement : BadLabeledExpression, IUnresolvedElement
    {
        public UnresolvedLabeledElement(string label, EdmLocation location)
            : base(label, new EdmError[] { new EdmError(location, EdmErrorCode.BadUnresolvedLabeledElement, Edm.Strings.Bad_UnresolvedLabeledElement(label)) })
        { 
        }
    }
}
